<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@include file="/WEB-INF/views/inc/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="decorator" content="main"/>
<script type="text/javascript" src="${ctx}/static/js/uploadPreview.min.js"></script>
<title>站点编辑</title>
<script>
	$(function () {
	    $("#pic").uploadPreview({ Img: "box", Width: 120, Height: 120 });
	});
</script>
</head>
<body>
		<div class="maincontent">
			<div class="maincontentinner">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget">
							<h4 class="widgettitle">站点修改</h4>
							<div class="widgetcontent">
								<form class="form-horizontal" style="padding-left:140px"target="ifm" action="${ctx}/site/siteSubmit.do" method="post" enctype="multipart/form-data">
									<div class="form-group">
								   	   <div class="col-sm-9">
										   <img style="margin-left: 130px"id="box" src="${ctx}/static/images/add.gif" width="145px" height="156px">
										   <p style="width:500px;margin-left:120px;">
											  <input type="file" name="photo" id="pic"/>
											  <input type="submit" value="上传图片">
											</p>			 
										</div>
									 </div>
								</form>
							
								<form class="form-horizontal" action="${ctx}/site/site.do">
								  <input type="hidden" name="method" value="tijiao">
								  <p style="padding-left:260px">
								     <label>站点名称:</label>
								     <input class="input-large" type="text" name="siteName"></input>
								  </p>
								  <p style="padding-left:260px">
								    <label>所属机构:</label>
								    <input class="input-large" type="text" name="institutions"></input>
								  </p>
								  <p style="padding-left:260px">
								    <label>SEO关键字:</label>
								    <input type="text" name="keyword"><br><span>注意：多个SEO关键字以逗号隔开</span>
								  </p>
								  <p style="padding-left:260px">
								    <label>SEO标题：</label>
								    <input type="text" name="seodesc">
								  </p>
								  <p style="padding-left:260px">
								    <label>SEO名称:</label>
								    <input type="text" name="seotitle">
								  </p>
								  <p class="stdformbutton" style="padding-left:60px">
					                <input type="submit" value="提交" style="margin-left:220px">
								  	<input type="reset" value="重置" style="margin-left:30px">
								  </p>
								</form>
								<iframe id='ifm' name='ifm' style="display:none"/>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
</html>